DISCUSSION
The
ATSUSetLayoutControls function sets one or more text layout attribute value(s) for an entire text layout object. If you wish to set the text layout attribute values of a single line in a text layout object, see the function
ATSUSetLineControls. Note that when you set a text layout attribute value for a line, this value will override the value of the text layout attribute set for the text layout object containing the line. This is true even if the attributes for the line are set before those of the entire text layout object containing the line.